<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.11"/>
<title>eRPC API Reference: erpc_codec.h Source File</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
  $(document).ready(initResizable);
  $(window).load(resizeHeight);
</script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { init_search(); });
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
<link href="customdoxygen.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><img alt="Logo" src="nxp_logo_small.png"/></td>
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">eRPC API Reference
   &#160;<span id="projectnumber">Rev. 1.7.4</span>
   </div>
   <div id="projectbrief">NXP Semiconductors</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.11 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="modules.html"><span>API&#160;Reference</span></a></li>
      <li><a href="annotated.html"><span>Classes</span></a></li>
      <li class="current"><a href="files.html"><span>Files</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="files.html"><span>File&#160;List</span></a></li>
      <li><a href="globals.html"><span>File&#160;Members</span></a></li>
    </ul>
  </div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
$(document).ready(function(){initNavTree('erpc__codec_8h_source.html','');});
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="headertitle">
<div class="title">erpc_codec.h</div>  </div>
</div><!--header-->
<div class="contents">
<a href="erpc__codec_8h.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno">    1</span>&#160;<span class="comment">/*</span></div><div class="line"><a name="l00002"></a><span class="lineno">    2</span>&#160;<span class="comment"> * Copyright (c) 2014, Freescale Semiconductor, Inc.</span></div><div class="line"><a name="l00003"></a><span class="lineno">    3</span>&#160;<span class="comment"> * Copyright 2016-2017 NXP</span></div><div class="line"><a name="l00004"></a><span class="lineno">    4</span>&#160;<span class="comment"> * All rights reserved.</span></div><div class="line"><a name="l00005"></a><span class="lineno">    5</span>&#160;<span class="comment"> *</span></div><div class="line"><a name="l00006"></a><span class="lineno">    6</span>&#160;<span class="comment"> *</span></div><div class="line"><a name="l00007"></a><span class="lineno">    7</span>&#160;<span class="comment"> * SPDX-License-Identifier: BSD-3-Clause</span></div><div class="line"><a name="l00008"></a><span class="lineno">    8</span>&#160;<span class="comment"> */</span></div><div class="line"><a name="l00009"></a><span class="lineno">    9</span>&#160;</div><div class="line"><a name="l00010"></a><span class="lineno">   10</span>&#160;<span class="preprocessor">#ifndef _EMBEDDED_RPC__CODEC_H_</span></div><div class="line"><a name="l00011"></a><span class="lineno">   11</span>&#160;<span class="preprocessor">#define _EMBEDDED_RPC__CODEC_H_</span></div><div class="line"><a name="l00012"></a><span class="lineno">   12</span>&#160;</div><div class="line"><a name="l00013"></a><span class="lineno">   13</span>&#160;<span class="preprocessor">#include &quot;erpc_common.h&quot;</span></div><div class="line"><a name="l00014"></a><span class="lineno">   14</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="erpc__message__buffer_8h.html">erpc_message_buffer.h</a>&quot;</span></div><div class="line"><a name="l00015"></a><span class="lineno">   15</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="erpc__transport_8h.html">erpc_transport.h</a>&quot;</span></div><div class="line"><a name="l00016"></a><span class="lineno">   16</span>&#160;<span class="preprocessor">#include &lt;cstring&gt;</span></div><div class="line"><a name="l00017"></a><span class="lineno">   17</span>&#160;<span class="preprocessor">#include &lt;stdint.h&gt;</span></div><div class="line"><a name="l00018"></a><span class="lineno">   18</span>&#160;</div><div class="line"><a name="l00025"></a><span class="lineno">   25</span>&#160;<span class="comment">// Classes</span></div><div class="line"><a name="l00028"></a><span class="lineno">   28</span>&#160;<span class="comment"></span></div><div class="line"><a name="l00029"></a><span class="lineno">   29</span>&#160;<span class="keyword">namespace </span><a class="code" href="namespaceerpc.html">erpc</a> {</div><div class="line"><a name="l00033"></a><span class="lineno"><a class="line" href="erpc__codec_8h.html#a7116f64fb1351d72417155cfed485478">   33</a></span>&#160;<span class="keyword">typedef</span> <span class="keyword">enum</span> _message_type {</div><div class="line"><a name="l00034"></a><span class="lineno">   34</span>&#160;    kInvocationMessage = 0,</div><div class="line"><a name="l00035"></a><span class="lineno">   35</span>&#160;    kOnewayMessage,</div><div class="line"><a name="l00036"></a><span class="lineno">   36</span>&#160;    kReplyMessage,</div><div class="line"><a name="l00037"></a><span class="lineno">   37</span>&#160;    kNotificationMessage</div><div class="line"><a name="l00038"></a><span class="lineno">   38</span>&#160;} <a class="code" href="erpc__codec_8h.html#a7116f64fb1351d72417155cfed485478">message_type_t</a>;</div><div class="line"><a name="l00039"></a><span class="lineno">   39</span>&#160;</div><div class="line"><a name="l00040"></a><span class="lineno">   40</span>&#160;<span class="keyword">typedef</span> <span class="keywordtype">void</span> *funPtr;          <span class="comment">// Pointer to functions</span></div><div class="line"><a name="l00041"></a><span class="lineno">   41</span>&#160;<span class="keyword">typedef</span> funPtr *arrayOfFunPtr; <span class="comment">// Pointer to array of functions</span></div><div class="line"><a name="l00042"></a><span class="lineno">   42</span>&#160;</div><div class="line"><a name="l00050"></a><span class="lineno"><a class="line" href="classerpc_1_1_codec.html">   50</a></span>&#160;<span class="keyword">class </span><a class="code" href="classerpc_1_1_codec.html">Codec</a></div><div class="line"><a name="l00051"></a><span class="lineno">   51</span>&#160;{</div><div class="line"><a name="l00052"></a><span class="lineno">   52</span>&#160;<span class="keyword">public</span>:</div><div class="line"><a name="l00058"></a><span class="lineno"><a class="line" href="classerpc_1_1_codec.html#a39f0596a2957fb80bf3b5de6a4420f26">   58</a></span>&#160;    <a class="code" href="classerpc_1_1_codec.html#a39f0596a2957fb80bf3b5de6a4420f26">Codec</a>(<span class="keywordtype">void</span>)</div><div class="line"><a name="l00059"></a><span class="lineno">   59</span>&#160;    : <a class="code" href="classerpc_1_1_codec.html#a003c4d8420239b9a347b46554ebeb903">m_buffer</a>()</div><div class="line"><a name="l00060"></a><span class="lineno">   60</span>&#160;    , <a class="code" href="classerpc_1_1_codec.html#ad9fe5af5136be642e05a9e7335af8ff7">m_cursor</a>()</div><div class="line"><a name="l00061"></a><span class="lineno">   61</span>&#160;    , <a class="code" href="classerpc_1_1_codec.html#aa1f493b99584ed6e75a0e4ea06a1d14a">m_status</a>(<a class="code" href="group__infra.html#ggacf5d3df9e7a78f29bc823b71f1529752aad3aa76a604b7bd6c3828c50b33dca33">kErpcStatus_Success</a>)</div><div class="line"><a name="l00062"></a><span class="lineno">   62</span>&#160;    {</div><div class="line"><a name="l00063"></a><span class="lineno">   63</span>&#160;    }</div><div class="line"><a name="l00064"></a><span class="lineno">   64</span>&#160;</div><div class="line"><a name="l00068"></a><span class="lineno"><a class="line" href="classerpc_1_1_codec.html#adab0e09abe91747902ac3d4622682082">   68</a></span>&#160;    <span class="keyword">virtual</span> <a class="code" href="classerpc_1_1_codec.html#adab0e09abe91747902ac3d4622682082">~Codec</a>(<span class="keywordtype">void</span>) {}</div><div class="line"><a name="l00069"></a><span class="lineno">   69</span>&#160;</div><div class="line"><a name="l00075"></a><span class="lineno"><a class="line" href="classerpc_1_1_codec.html#a1ffdc810b2381805a0ab4e92201f72d3">   75</a></span>&#160;    <a class="code" href="classerpc_1_1_message_buffer.html">MessageBuffer</a> *<a class="code" href="classerpc_1_1_codec.html#a1ffdc810b2381805a0ab4e92201f72d3">getBuffer</a>(<span class="keywordtype">void</span>) { <span class="keywordflow">return</span> &amp;<a class="code" href="classerpc_1_1_codec.html#a003c4d8420239b9a347b46554ebeb903">m_buffer</a>; }</div><div class="line"><a name="l00076"></a><span class="lineno">   76</span>&#160;</div><div class="line"><a name="l00082"></a><span class="lineno"><a class="line" href="classerpc_1_1_codec.html#ace7d311abca68729346074d603879c9f">   82</a></span>&#160;    <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classerpc_1_1_codec.html#ace7d311abca68729346074d603879c9f">setBuffer</a>(<a class="code" href="classerpc_1_1_message_buffer.html">MessageBuffer</a> &amp;buf)</div><div class="line"><a name="l00083"></a><span class="lineno">   83</span>&#160;    {</div><div class="line"><a name="l00084"></a><span class="lineno">   84</span>&#160;        <a class="code" href="classerpc_1_1_codec.html#a003c4d8420239b9a347b46554ebeb903">m_buffer</a> = buf;</div><div class="line"><a name="l00085"></a><span class="lineno">   85</span>&#160;        <a class="code" href="classerpc_1_1_codec.html#ad9fe5af5136be642e05a9e7335af8ff7">m_cursor</a>.<a class="code" href="classerpc_1_1_message_buffer_1_1_cursor.html#adb7e71e444dcdb0a135d45d351d5dd62">set</a>(&amp;<a class="code" href="classerpc_1_1_codec.html#a003c4d8420239b9a347b46554ebeb903">m_buffer</a>);</div><div class="line"><a name="l00086"></a><span class="lineno">   86</span>&#160;        <a class="code" href="classerpc_1_1_codec.html#aa1f493b99584ed6e75a0e4ea06a1d14a">m_status</a> = <a class="code" href="group__infra.html#ggacf5d3df9e7a78f29bc823b71f1529752aad3aa76a604b7bd6c3828c50b33dca33">kErpcStatus_Success</a>;</div><div class="line"><a name="l00087"></a><span class="lineno">   87</span>&#160;    }</div><div class="line"><a name="l00088"></a><span class="lineno">   88</span>&#160;</div><div class="line"><a name="l00090"></a><span class="lineno"><a class="line" href="classerpc_1_1_codec.html#a5ee5a1d8930812d4256201bde6390bf3">   90</a></span>&#160;    <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classerpc_1_1_codec.html#a5ee5a1d8930812d4256201bde6390bf3">reset</a>(<span class="keywordtype">void</span>)</div><div class="line"><a name="l00091"></a><span class="lineno">   91</span>&#160;    {</div><div class="line"><a name="l00092"></a><span class="lineno">   92</span>&#160;        <a class="code" href="classerpc_1_1_codec.html#ad9fe5af5136be642e05a9e7335af8ff7">m_cursor</a>.<a class="code" href="classerpc_1_1_message_buffer_1_1_cursor.html#adb7e71e444dcdb0a135d45d351d5dd62">set</a>(&amp;<a class="code" href="classerpc_1_1_codec.html#a003c4d8420239b9a347b46554ebeb903">m_buffer</a>);</div><div class="line"><a name="l00093"></a><span class="lineno">   93</span>&#160;        <a class="code" href="classerpc_1_1_codec.html#aa1f493b99584ed6e75a0e4ea06a1d14a">m_status</a> = <a class="code" href="group__infra.html#ggacf5d3df9e7a78f29bc823b71f1529752aad3aa76a604b7bd6c3828c50b33dca33">kErpcStatus_Success</a>;</div><div class="line"><a name="l00094"></a><span class="lineno">   94</span>&#160;    }</div><div class="line"><a name="l00095"></a><span class="lineno">   95</span>&#160;</div><div class="line"><a name="l00096"></a><span class="lineno">   96</span>&#160;    <a class="code" href="group__infra.html#ga5f8872e58f09a16d192bf664f9898651">erpc_status_t</a> getStatus(<span class="keywordtype">void</span>) { <span class="keywordflow">return</span> <a class="code" href="classerpc_1_1_codec.html#aa1f493b99584ed6e75a0e4ea06a1d14a">m_status</a>; }</div><div class="line"><a name="l00097"></a><span class="lineno">   97</span>&#160;</div><div class="line"><a name="l00098"></a><span class="lineno">   98</span>&#160;    <span class="keywordtype">void</span> updateStatus(<a class="code" href="group__infra.html#ga5f8872e58f09a16d192bf664f9898651">erpc_status_t</a> status)</div><div class="line"><a name="l00099"></a><span class="lineno">   99</span>&#160;    {</div><div class="line"><a name="l00100"></a><span class="lineno">  100</span>&#160;        <span class="keywordflow">if</span> (!<a class="code" href="classerpc_1_1_codec.html#aa1f493b99584ed6e75a0e4ea06a1d14a">m_status</a>)</div><div class="line"><a name="l00101"></a><span class="lineno">  101</span>&#160;        {</div><div class="line"><a name="l00102"></a><span class="lineno">  102</span>&#160;            <a class="code" href="classerpc_1_1_codec.html#aa1f493b99584ed6e75a0e4ea06a1d14a">m_status</a> = status;</div><div class="line"><a name="l00103"></a><span class="lineno">  103</span>&#160;        }</div><div class="line"><a name="l00104"></a><span class="lineno">  104</span>&#160;    }</div><div class="line"><a name="l00105"></a><span class="lineno">  105</span>&#160;</div><div class="line"><a name="l00107"></a><span class="lineno">  107</span>&#160;</div><div class="line"><a name="l00108"></a><span class="lineno">  108</span>&#160;</div><div class="line"><a name="l00117"></a><span class="lineno">  117</span>&#160;    <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classerpc_1_1_codec.html#ade36a3e253eb62fb6533aef091625047">startWriteMessage</a>(message_type_t type, uint32_t service, uint32_t request, uint32_t sequence) = 0;</div><div class="line"><a name="l00118"></a><span class="lineno">  118</span>&#160;</div><div class="line"><a name="l00124"></a><span class="lineno">  124</span>&#160;    <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classerpc_1_1_codec.html#aca48e28afe7669b796418e1d79441a2b">write</a>(<span class="keywordtype">bool</span> value) = 0;</div><div class="line"><a name="l00125"></a><span class="lineno">  125</span>&#160;</div><div class="line"><a name="l00131"></a><span class="lineno">  131</span>&#160;    <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classerpc_1_1_codec.html#aca48e28afe7669b796418e1d79441a2b">write</a>(int8_t value) = 0;</div><div class="line"><a name="l00132"></a><span class="lineno">  132</span>&#160;</div><div class="line"><a name="l00138"></a><span class="lineno">  138</span>&#160;    <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classerpc_1_1_codec.html#aca48e28afe7669b796418e1d79441a2b">write</a>(int16_t value) = 0;</div><div class="line"><a name="l00139"></a><span class="lineno">  139</span>&#160;</div><div class="line"><a name="l00145"></a><span class="lineno">  145</span>&#160;    <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classerpc_1_1_codec.html#aca48e28afe7669b796418e1d79441a2b">write</a>(int32_t value) = 0;</div><div class="line"><a name="l00146"></a><span class="lineno">  146</span>&#160;</div><div class="line"><a name="l00152"></a><span class="lineno">  152</span>&#160;    <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classerpc_1_1_codec.html#aca48e28afe7669b796418e1d79441a2b">write</a>(int64_t value) = 0;</div><div class="line"><a name="l00153"></a><span class="lineno">  153</span>&#160;</div><div class="line"><a name="l00159"></a><span class="lineno">  159</span>&#160;    <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classerpc_1_1_codec.html#aca48e28afe7669b796418e1d79441a2b">write</a>(uint8_t value) = 0;</div><div class="line"><a name="l00160"></a><span class="lineno">  160</span>&#160;</div><div class="line"><a name="l00166"></a><span class="lineno">  166</span>&#160;    <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classerpc_1_1_codec.html#aca48e28afe7669b796418e1d79441a2b">write</a>(uint16_t value) = 0;</div><div class="line"><a name="l00167"></a><span class="lineno">  167</span>&#160;</div><div class="line"><a name="l00173"></a><span class="lineno">  173</span>&#160;    <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classerpc_1_1_codec.html#aca48e28afe7669b796418e1d79441a2b">write</a>(uint32_t value) = 0;</div><div class="line"><a name="l00174"></a><span class="lineno">  174</span>&#160;</div><div class="line"><a name="l00180"></a><span class="lineno">  180</span>&#160;    <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classerpc_1_1_codec.html#aca48e28afe7669b796418e1d79441a2b">write</a>(uint64_t value) = 0;</div><div class="line"><a name="l00181"></a><span class="lineno">  181</span>&#160;</div><div class="line"><a name="l00187"></a><span class="lineno">  187</span>&#160;    <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classerpc_1_1_codec.html#aca48e28afe7669b796418e1d79441a2b">write</a>(<span class="keywordtype">float</span> value) = 0;</div><div class="line"><a name="l00188"></a><span class="lineno">  188</span>&#160;</div><div class="line"><a name="l00194"></a><span class="lineno">  194</span>&#160;    <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classerpc_1_1_codec.html#aca48e28afe7669b796418e1d79441a2b">write</a>(<span class="keywordtype">double</span> value) = 0;</div><div class="line"><a name="l00195"></a><span class="lineno">  195</span>&#160;</div><div class="line"><a name="l00201"></a><span class="lineno">  201</span>&#160;    <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classerpc_1_1_codec.html#ae9a6c5f99e5099c7bb96c293a156c80f">writePtr</a>(uintptr_t value) = 0;</div><div class="line"><a name="l00202"></a><span class="lineno">  202</span>&#160;</div><div class="line"><a name="l00209"></a><span class="lineno">  209</span>&#160;    <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classerpc_1_1_codec.html#a1285f577d96c982df48abf37c177bedd">writeString</a>(uint32_t length, <span class="keyword">const</span> <span class="keywordtype">char</span> *value) = 0;</div><div class="line"><a name="l00210"></a><span class="lineno">  210</span>&#160;</div><div class="line"><a name="l00217"></a><span class="lineno">  217</span>&#160;    <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classerpc_1_1_codec.html#ab1a66a201128941dc332e17d2490c2f8">writeBinary</a>(uint32_t length, <span class="keyword">const</span> uint8_t *value) = 0;</div><div class="line"><a name="l00218"></a><span class="lineno">  218</span>&#160;</div><div class="line"><a name="l00224"></a><span class="lineno">  224</span>&#160;    <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classerpc_1_1_codec.html#aa2b752ae654eecf49a388dca8d341f7d">startWriteList</a>(uint32_t length) = 0;</div><div class="line"><a name="l00225"></a><span class="lineno">  225</span>&#160;</div><div class="line"><a name="l00231"></a><span class="lineno">  231</span>&#160;    <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classerpc_1_1_codec.html#a87fdbe883363642751bae1d6d53520c8">startWriteUnion</a>(int32_t discriminator) = 0;</div><div class="line"><a name="l00232"></a><span class="lineno">  232</span>&#160;</div><div class="line"><a name="l00238"></a><span class="lineno">  238</span>&#160;    <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classerpc_1_1_codec.html#a41efd3899943f2168f7f58be03045679">writeNullFlag</a>(<span class="keywordtype">bool</span> isNull) = 0;</div><div class="line"><a name="l00239"></a><span class="lineno">  239</span>&#160;</div><div class="line"><a name="l00247"></a><span class="lineno">  247</span>&#160;    <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classerpc_1_1_codec.html#a16711856846fa8bf4b8b70e69249b98e">writeCallback</a>(arrayOfFunPtr callbacks, uint8_t callbacksCount, funPtr callback) = 0;</div><div class="line"><a name="l00248"></a><span class="lineno">  248</span>&#160;</div><div class="line"><a name="l00255"></a><span class="lineno">  255</span>&#160;    <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classerpc_1_1_codec.html#a16711856846fa8bf4b8b70e69249b98e">writeCallback</a>(funPtr callback1, funPtr callback2) = 0;</div><div class="line"><a name="l00257"></a><span class="lineno">  257</span>&#160;</div><div class="line"><a name="l00259"></a><span class="lineno">  259</span>&#160;</div><div class="line"><a name="l00260"></a><span class="lineno">  260</span>&#160;</div><div class="line"><a name="l00269"></a><span class="lineno">  269</span>&#160;    <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classerpc_1_1_codec.html#a45c92dc20df6e8ac78336426a076aff3">startReadMessage</a>(message_type_t *type, uint32_t *service, uint32_t *request, uint32_t *sequence) = 0;</div><div class="line"><a name="l00270"></a><span class="lineno">  270</span>&#160;</div><div class="line"><a name="l00276"></a><span class="lineno">  276</span>&#160;    <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classerpc_1_1_codec.html#a7ecc6e3071f968c5d6a981d0547bfea9">read</a>(<span class="keywordtype">bool</span> *value) = 0;</div><div class="line"><a name="l00277"></a><span class="lineno">  277</span>&#160;</div><div class="line"><a name="l00283"></a><span class="lineno">  283</span>&#160;    <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classerpc_1_1_codec.html#a7ecc6e3071f968c5d6a981d0547bfea9">read</a>(int8_t *value) = 0;</div><div class="line"><a name="l00284"></a><span class="lineno">  284</span>&#160;</div><div class="line"><a name="l00290"></a><span class="lineno">  290</span>&#160;    <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classerpc_1_1_codec.html#a7ecc6e3071f968c5d6a981d0547bfea9">read</a>(int16_t *value) = 0;</div><div class="line"><a name="l00291"></a><span class="lineno">  291</span>&#160;</div><div class="line"><a name="l00297"></a><span class="lineno">  297</span>&#160;    <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classerpc_1_1_codec.html#a7ecc6e3071f968c5d6a981d0547bfea9">read</a>(int32_t *value) = 0;</div><div class="line"><a name="l00298"></a><span class="lineno">  298</span>&#160;</div><div class="line"><a name="l00304"></a><span class="lineno">  304</span>&#160;    <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classerpc_1_1_codec.html#a7ecc6e3071f968c5d6a981d0547bfea9">read</a>(int64_t *value) = 0;</div><div class="line"><a name="l00305"></a><span class="lineno">  305</span>&#160;</div><div class="line"><a name="l00311"></a><span class="lineno">  311</span>&#160;    <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classerpc_1_1_codec.html#a7ecc6e3071f968c5d6a981d0547bfea9">read</a>(uint8_t *value) = 0;</div><div class="line"><a name="l00312"></a><span class="lineno">  312</span>&#160;</div><div class="line"><a name="l00318"></a><span class="lineno">  318</span>&#160;    <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classerpc_1_1_codec.html#a7ecc6e3071f968c5d6a981d0547bfea9">read</a>(uint16_t *value) = 0;</div><div class="line"><a name="l00319"></a><span class="lineno">  319</span>&#160;</div><div class="line"><a name="l00325"></a><span class="lineno">  325</span>&#160;    <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classerpc_1_1_codec.html#a7ecc6e3071f968c5d6a981d0547bfea9">read</a>(uint32_t *value) = 0;</div><div class="line"><a name="l00326"></a><span class="lineno">  326</span>&#160;</div><div class="line"><a name="l00332"></a><span class="lineno">  332</span>&#160;    <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classerpc_1_1_codec.html#a7ecc6e3071f968c5d6a981d0547bfea9">read</a>(uint64_t *value) = 0;</div><div class="line"><a name="l00333"></a><span class="lineno">  333</span>&#160;</div><div class="line"><a name="l00339"></a><span class="lineno">  339</span>&#160;    <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classerpc_1_1_codec.html#a7ecc6e3071f968c5d6a981d0547bfea9">read</a>(<span class="keywordtype">float</span> *value) = 0;</div><div class="line"><a name="l00340"></a><span class="lineno">  340</span>&#160;</div><div class="line"><a name="l00346"></a><span class="lineno">  346</span>&#160;    <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classerpc_1_1_codec.html#a7ecc6e3071f968c5d6a981d0547bfea9">read</a>(<span class="keywordtype">double</span> *value) = 0;</div><div class="line"><a name="l00347"></a><span class="lineno">  347</span>&#160;</div><div class="line"><a name="l00353"></a><span class="lineno">  353</span>&#160;    <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classerpc_1_1_codec.html#a811b18e4f773c808cf5e50891882d9db">readPtr</a>(uintptr_t *value) = 0;</div><div class="line"><a name="l00354"></a><span class="lineno">  354</span>&#160;</div><div class="line"><a name="l00361"></a><span class="lineno">  361</span>&#160;    <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classerpc_1_1_codec.html#a0246ac618ddee0373b1b819d804514b8">readString</a>(uint32_t *length, <span class="keywordtype">char</span> **value) = 0;</div><div class="line"><a name="l00362"></a><span class="lineno">  362</span>&#160;</div><div class="line"><a name="l00369"></a><span class="lineno">  369</span>&#160;    <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classerpc_1_1_codec.html#a71ff08fb3bc541d238bd4785d602690c">readBinary</a>(uint32_t *length, uint8_t **value) = 0;</div><div class="line"><a name="l00370"></a><span class="lineno">  370</span>&#160;</div><div class="line"><a name="l00376"></a><span class="lineno">  376</span>&#160;    <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classerpc_1_1_codec.html#adf815ca6e048ac520875bfb11b5a0f0d">startReadList</a>(uint32_t *length) = 0;</div><div class="line"><a name="l00377"></a><span class="lineno">  377</span>&#160;</div><div class="line"><a name="l00383"></a><span class="lineno">  383</span>&#160;    <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classerpc_1_1_codec.html#a086b4f4e4624fd3df5df560cfab0355a">startReadUnion</a>(int32_t *discriminator) = 0;</div><div class="line"><a name="l00384"></a><span class="lineno">  384</span>&#160;</div><div class="line"><a name="l00390"></a><span class="lineno">  390</span>&#160;    <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classerpc_1_1_codec.html#a8756f406d613fda6375b4137c3560354">readNullFlag</a>(<span class="keywordtype">bool</span> *isNull) = 0;</div><div class="line"><a name="l00391"></a><span class="lineno">  391</span>&#160;</div><div class="line"><a name="l00399"></a><span class="lineno">  399</span>&#160;    <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classerpc_1_1_codec.html#a3f7eedc7d95818b93c8ac1d2948015de">readCallback</a>(arrayOfFunPtr callbacks, uint8_t callbacksCount, funPtr *callback) = 0;</div><div class="line"><a name="l00400"></a><span class="lineno">  400</span>&#160;</div><div class="line"><a name="l00407"></a><span class="lineno">  407</span>&#160;    <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classerpc_1_1_codec.html#a3f7eedc7d95818b93c8ac1d2948015de">readCallback</a>(funPtr callbacks1, funPtr *callback2) = 0;</div><div class="line"><a name="l00408"></a><span class="lineno">  408</span>&#160;</div><div class="line"><a name="l00409"></a><span class="lineno">  409</span>&#160;<span class="keyword">protected</span>:</div><div class="line"><a name="l00410"></a><span class="lineno"><a class="line" href="classerpc_1_1_codec.html#a003c4d8420239b9a347b46554ebeb903">  410</a></span>&#160;    <a class="code" href="classerpc_1_1_message_buffer.html">MessageBuffer</a> <a class="code" href="classerpc_1_1_codec.html#a003c4d8420239b9a347b46554ebeb903">m_buffer</a>;         </div><div class="line"><a name="l00411"></a><span class="lineno"><a class="line" href="classerpc_1_1_codec.html#ad9fe5af5136be642e05a9e7335af8ff7">  411</a></span>&#160;    <a class="code" href="classerpc_1_1_message_buffer_1_1_cursor.html">MessageBuffer::Cursor</a> <a class="code" href="classerpc_1_1_codec.html#ad9fe5af5136be642e05a9e7335af8ff7">m_cursor</a>; </div><div class="line"><a name="l00412"></a><span class="lineno"><a class="line" href="classerpc_1_1_codec.html#aa1f493b99584ed6e75a0e4ea06a1d14a">  412</a></span>&#160;    <a class="code" href="group__infra.html#ga5f8872e58f09a16d192bf664f9898651">erpc_status_t</a> <a class="code" href="classerpc_1_1_codec.html#aa1f493b99584ed6e75a0e4ea06a1d14a">m_status</a>;         </div><div class="line"><a name="l00413"></a><span class="lineno">  413</span>&#160;};</div><div class="line"><a name="l00414"></a><span class="lineno">  414</span>&#160;</div><div class="line"><a name="l00420"></a><span class="lineno"><a class="line" href="classerpc_1_1_codec_factory.html">  420</a></span>&#160;<span class="keyword">class </span><a class="code" href="classerpc_1_1_codec_factory.html">CodecFactory</a></div><div class="line"><a name="l00421"></a><span class="lineno">  421</span>&#160;{</div><div class="line"><a name="l00422"></a><span class="lineno">  422</span>&#160;<span class="keyword">public</span>:</div><div class="line"><a name="l00426"></a><span class="lineno"><a class="line" href="classerpc_1_1_codec_factory.html#a06079d9d28d159258521fa6373417d55">  426</a></span>&#160;    <a class="code" href="classerpc_1_1_codec_factory.html#a06079d9d28d159258521fa6373417d55">CodecFactory</a>(<span class="keywordtype">void</span>) {}</div><div class="line"><a name="l00427"></a><span class="lineno">  427</span>&#160;</div><div class="line"><a name="l00431"></a><span class="lineno"><a class="line" href="classerpc_1_1_codec_factory.html#a340ade285bf186ed97ced97430db628b">  431</a></span>&#160;    <span class="keyword">virtual</span> <a class="code" href="classerpc_1_1_codec_factory.html#a340ade285bf186ed97ced97430db628b">~CodecFactory</a>(<span class="keywordtype">void</span>) {}</div><div class="line"><a name="l00432"></a><span class="lineno">  432</span>&#160;</div><div class="line"><a name="l00438"></a><span class="lineno">  438</span>&#160;    <span class="keyword">virtual</span> <a class="code" href="classerpc_1_1_codec.html">Codec</a> *create(<span class="keywordtype">void</span>) = 0;</div><div class="line"><a name="l00439"></a><span class="lineno">  439</span>&#160;</div><div class="line"><a name="l00445"></a><span class="lineno">  445</span>&#160;    <span class="keyword">virtual</span> <span class="keywordtype">void</span> dispose(<a class="code" href="classerpc_1_1_codec.html">Codec</a> *codec) = 0;</div><div class="line"><a name="l00446"></a><span class="lineno">  446</span>&#160;};</div><div class="line"><a name="l00447"></a><span class="lineno">  447</span>&#160;</div><div class="line"><a name="l00448"></a><span class="lineno">  448</span>&#160;} <span class="comment">// namespace erpc</span></div><div class="line"><a name="l00449"></a><span class="lineno">  449</span>&#160;</div><div class="line"><a name="l00452"></a><span class="lineno">  452</span>&#160;<span class="preprocessor">#endif // _EMBEDDED_RPC__CODEC_H_</span></div><div class="ttc" id="classerpc_1_1_codec_html_a45c92dc20df6e8ac78336426a076aff3"><div class="ttname"><a href="classerpc_1_1_codec.html#a45c92dc20df6e8ac78336426a076aff3">erpc::Codec::startReadMessage</a></div><div class="ttdeci">virtual void startReadMessage(message_type_t *type, uint32_t *service, uint32_t *request, uint32_t *sequence)=0</div><div class="ttdoc">Prototype for read header of message. </div></div>
<div class="ttc" id="classerpc_1_1_codec_html_aa1f493b99584ed6e75a0e4ea06a1d14a"><div class="ttname"><a href="classerpc_1_1_codec.html#aa1f493b99584ed6e75a0e4ea06a1d14a">erpc::Codec::m_status</a></div><div class="ttdeci">erpc_status_t m_status</div><div class="ttdef"><b>Definition:</b> erpc_codec.h:412</div></div>
<div class="ttc" id="group__infra_html_ga5f8872e58f09a16d192bf664f9898651"><div class="ttname"><a href="group__infra.html#ga5f8872e58f09a16d192bf664f9898651">erpc_status_t</a></div><div class="ttdeci">int32_t erpc_status_t</div><div class="ttdoc">Type used for all status and error return values. </div><div class="ttdef"><b>Definition:</b> erpc_common.h:86</div></div>
<div class="ttc" id="classerpc_1_1_codec_html_a1ffdc810b2381805a0ab4e92201f72d3"><div class="ttname"><a href="classerpc_1_1_codec.html#a1ffdc810b2381805a0ab4e92201f72d3">erpc::Codec::getBuffer</a></div><div class="ttdeci">MessageBuffer * getBuffer(void)</div><div class="ttdoc">Return message buffer used for read and write data. </div><div class="ttdef"><b>Definition:</b> erpc_codec.h:75</div></div>
<div class="ttc" id="erpc__codec_8h_html_a7116f64fb1351d72417155cfed485478"><div class="ttname"><a href="erpc__codec_8h.html#a7116f64fb1351d72417155cfed485478">erpc::message_type_t</a></div><div class="ttdeci">message_type_t</div><div class="ttdoc">Types of messages that can be encoded. </div><div class="ttdef"><b>Definition:</b> erpc_codec.h:33</div></div>
<div class="ttc" id="classerpc_1_1_codec_html_a7ecc6e3071f968c5d6a981d0547bfea9"><div class="ttname"><a href="classerpc_1_1_codec.html#a7ecc6e3071f968c5d6a981d0547bfea9">erpc::Codec::read</a></div><div class="ttdeci">virtual void read(bool *value)=0</div><div class="ttdoc">Prototype for read boolean value. </div></div>
<div class="ttc" id="classerpc_1_1_codec_html_ae9a6c5f99e5099c7bb96c293a156c80f"><div class="ttname"><a href="classerpc_1_1_codec.html#ae9a6c5f99e5099c7bb96c293a156c80f">erpc::Codec::writePtr</a></div><div class="ttdeci">virtual void writePtr(uintptr_t value)=0</div><div class="ttdoc">Prototype for write uintptr value. </div></div>
<div class="ttc" id="classerpc_1_1_codec_html_a16711856846fa8bf4b8b70e69249b98e"><div class="ttname"><a href="classerpc_1_1_codec.html#a16711856846fa8bf4b8b70e69249b98e">erpc::Codec::writeCallback</a></div><div class="ttdeci">virtual void writeCallback(arrayOfFunPtr callbacks, uint8_t callbacksCount, funPtr callback)=0</div><div class="ttdoc">Writes an order ID of callback function. </div></div>
<div class="ttc" id="group__infra_html_ggacf5d3df9e7a78f29bc823b71f1529752aad3aa76a604b7bd6c3828c50b33dca33"><div class="ttname"><a href="group__infra.html#ggacf5d3df9e7a78f29bc823b71f1529752aad3aa76a604b7bd6c3828c50b33dca33">kErpcStatus_Success</a></div><div class="ttdoc">No error occurred. </div><div class="ttdef"><b>Definition:</b> erpc_common.h:28</div></div>
<div class="ttc" id="classerpc_1_1_codec_html_ad9fe5af5136be642e05a9e7335af8ff7"><div class="ttname"><a href="classerpc_1_1_codec.html#ad9fe5af5136be642e05a9e7335af8ff7">erpc::Codec::m_cursor</a></div><div class="ttdeci">MessageBuffer::Cursor m_cursor</div><div class="ttdef"><b>Definition:</b> erpc_codec.h:411</div></div>
<div class="ttc" id="classerpc_1_1_codec_html_ab1a66a201128941dc332e17d2490c2f8"><div class="ttname"><a href="classerpc_1_1_codec.html#ab1a66a201128941dc332e17d2490c2f8">erpc::Codec::writeBinary</a></div><div class="ttdeci">virtual void writeBinary(uint32_t length, const uint8_t *value)=0</div><div class="ttdoc">Prototype for write binary value. </div></div>
<div class="ttc" id="classerpc_1_1_codec_html"><div class="ttname"><a href="classerpc_1_1_codec.html">erpc::Codec</a></div><div class="ttdoc">Abstract serialization encoder/decoder interface. </div><div class="ttdef"><b>Definition:</b> erpc_codec.h:50</div></div>
<div class="ttc" id="classerpc_1_1_codec_html_adab0e09abe91747902ac3d4622682082"><div class="ttname"><a href="classerpc_1_1_codec.html#adab0e09abe91747902ac3d4622682082">erpc::Codec::~Codec</a></div><div class="ttdeci">virtual ~Codec(void)</div><div class="ttdoc">Codec destructor. </div><div class="ttdef"><b>Definition:</b> erpc_codec.h:68</div></div>
<div class="ttc" id="classerpc_1_1_codec_html_a71ff08fb3bc541d238bd4785d602690c"><div class="ttname"><a href="classerpc_1_1_codec.html#a71ff08fb3bc541d238bd4785d602690c">erpc::Codec::readBinary</a></div><div class="ttdeci">virtual void readBinary(uint32_t *length, uint8_t **value)=0</div><div class="ttdoc">Prototype for read binary value. </div></div>
<div class="ttc" id="classerpc_1_1_message_buffer_1_1_cursor_html"><div class="ttname"><a href="classerpc_1_1_message_buffer_1_1_cursor.html">erpc::MessageBuffer::Cursor</a></div><div class="ttdoc">Cursor within a MessageBuffer. </div><div class="ttdef"><b>Definition:</b> erpc_message_buffer.h:188</div></div>
<div class="ttc" id="classerpc_1_1_codec_html_a41efd3899943f2168f7f58be03045679"><div class="ttname"><a href="classerpc_1_1_codec.html#a41efd3899943f2168f7f58be03045679">erpc::Codec::writeNullFlag</a></div><div class="ttdeci">virtual void writeNullFlag(bool isNull)=0</div><div class="ttdoc">Writes a flag indicating whether the next value is null. </div></div>
<div class="ttc" id="classerpc_1_1_codec_html_a811b18e4f773c808cf5e50891882d9db"><div class="ttname"><a href="classerpc_1_1_codec.html#a811b18e4f773c808cf5e50891882d9db">erpc::Codec::readPtr</a></div><div class="ttdeci">virtual void readPtr(uintptr_t *value)=0</div><div class="ttdoc">Prototype for read uintptr value. </div></div>
<div class="ttc" id="classerpc_1_1_codec_factory_html"><div class="ttname"><a href="classerpc_1_1_codec_factory.html">erpc::CodecFactory</a></div><div class="ttdoc">Abstract interface for codec factory. </div><div class="ttdef"><b>Definition:</b> erpc_codec.h:420</div></div>
<div class="ttc" id="classerpc_1_1_codec_html_a1285f577d96c982df48abf37c177bedd"><div class="ttname"><a href="classerpc_1_1_codec.html#a1285f577d96c982df48abf37c177bedd">erpc::Codec::writeString</a></div><div class="ttdeci">virtual void writeString(uint32_t length, const char *value)=0</div><div class="ttdoc">Prototype for write string value. </div></div>
<div class="ttc" id="erpc__transport_8h_html"><div class="ttname"><a href="erpc__transport_8h.html">erpc_transport.h</a></div></div>
<div class="ttc" id="classerpc_1_1_codec_html_a086b4f4e4624fd3df5df560cfab0355a"><div class="ttname"><a href="classerpc_1_1_codec.html#a086b4f4e4624fd3df5df560cfab0355a">erpc::Codec::startReadUnion</a></div><div class="ttdeci">virtual void startReadUnion(int32_t *discriminator)=0</div><div class="ttdoc">Prototype for start read union. </div></div>
<div class="ttc" id="classerpc_1_1_codec_factory_html_a340ade285bf186ed97ced97430db628b"><div class="ttname"><a href="classerpc_1_1_codec_factory.html#a340ade285bf186ed97ced97430db628b">erpc::CodecFactory::~CodecFactory</a></div><div class="ttdeci">virtual ~CodecFactory(void)</div><div class="ttdoc">CodecFactory destructor. </div><div class="ttdef"><b>Definition:</b> erpc_codec.h:431</div></div>
<div class="ttc" id="classerpc_1_1_codec_html_a3f7eedc7d95818b93c8ac1d2948015de"><div class="ttname"><a href="classerpc_1_1_codec.html#a3f7eedc7d95818b93c8ac1d2948015de">erpc::Codec::readCallback</a></div><div class="ttdeci">virtual void readCallback(arrayOfFunPtr callbacks, uint8_t callbacksCount, funPtr *callback)=0</div><div class="ttdoc">Read an callback function id and return address of callback function. </div></div>
<div class="ttc" id="classerpc_1_1_codec_html_a8756f406d613fda6375b4137c3560354"><div class="ttname"><a href="classerpc_1_1_codec.html#a8756f406d613fda6375b4137c3560354">erpc::Codec::readNullFlag</a></div><div class="ttdeci">virtual void readNullFlag(bool *isNull)=0</div><div class="ttdoc">Reads a flag indicating whether the next value is null. </div></div>
<div class="ttc" id="classerpc_1_1_codec_html_adf815ca6e048ac520875bfb11b5a0f0d"><div class="ttname"><a href="classerpc_1_1_codec.html#adf815ca6e048ac520875bfb11b5a0f0d">erpc::Codec::startReadList</a></div><div class="ttdeci">virtual void startReadList(uint32_t *length)=0</div><div class="ttdoc">Prototype for start read list. </div></div>
<div class="ttc" id="classerpc_1_1_message_buffer_1_1_cursor_html_adb7e71e444dcdb0a135d45d351d5dd62"><div class="ttname"><a href="classerpc_1_1_message_buffer_1_1_cursor.html#adb7e71e444dcdb0a135d45d351d5dd62">erpc::MessageBuffer::Cursor::set</a></div><div class="ttdeci">void set(MessageBuffer *buffer)</div><div class="ttdoc">Set message buffer. </div><div class="ttdef"><b>Definition:</b> erpc_message_buffer.cpp:72</div></div>
<div class="ttc" id="classerpc_1_1_codec_html_a0246ac618ddee0373b1b819d804514b8"><div class="ttname"><a href="classerpc_1_1_codec.html#a0246ac618ddee0373b1b819d804514b8">erpc::Codec::readString</a></div><div class="ttdeci">virtual void readString(uint32_t *length, char **value)=0</div><div class="ttdoc">Prototype for read string value. </div></div>
<div class="ttc" id="classerpc_1_1_codec_html_a87fdbe883363642751bae1d6d53520c8"><div class="ttname"><a href="classerpc_1_1_codec.html#a87fdbe883363642751bae1d6d53520c8">erpc::Codec::startWriteUnion</a></div><div class="ttdeci">virtual void startWriteUnion(int32_t discriminator)=0</div><div class="ttdoc">Prototype for start write union. </div></div>
<div class="ttc" id="classerpc_1_1_codec_html_aa2b752ae654eecf49a388dca8d341f7d"><div class="ttname"><a href="classerpc_1_1_codec.html#aa2b752ae654eecf49a388dca8d341f7d">erpc::Codec::startWriteList</a></div><div class="ttdeci">virtual void startWriteList(uint32_t length)=0</div><div class="ttdoc">Prototype for start write list. </div></div>
<div class="ttc" id="classerpc_1_1_message_buffer_html"><div class="ttname"><a href="classerpc_1_1_message_buffer.html">erpc::MessageBuffer</a></div><div class="ttdoc">Represents a memory buffer containing a message. </div><div class="ttdef"><b>Definition:</b> erpc_message_buffer.h:36</div></div>
<div class="ttc" id="classerpc_1_1_codec_html_ade36a3e253eb62fb6533aef091625047"><div class="ttname"><a href="classerpc_1_1_codec.html#ade36a3e253eb62fb6533aef091625047">erpc::Codec::startWriteMessage</a></div><div class="ttdeci">virtual void startWriteMessage(message_type_t type, uint32_t service, uint32_t request, uint32_t sequence)=0</div><div class="ttdoc">Prototype for write header of message. </div></div>
<div class="ttc" id="namespaceerpc_html"><div class="ttname"><a href="namespaceerpc.html">erpc</a></div><div class="ttdef"><b>Definition:</b> erpc_arbitrated_client_manager.h:25</div></div>
<div class="ttc" id="classerpc_1_1_codec_html_aca48e28afe7669b796418e1d79441a2b"><div class="ttname"><a href="classerpc_1_1_codec.html#aca48e28afe7669b796418e1d79441a2b">erpc::Codec::write</a></div><div class="ttdeci">virtual void write(bool value)=0</div><div class="ttdoc">Prototype for write boolean value. </div></div>
<div class="ttc" id="classerpc_1_1_codec_html_ace7d311abca68729346074d603879c9f"><div class="ttname"><a href="classerpc_1_1_codec.html#ace7d311abca68729346074d603879c9f">erpc::Codec::setBuffer</a></div><div class="ttdeci">virtual void setBuffer(MessageBuffer &amp;buf)</div><div class="ttdoc">Prototype for set message buffer used for read and write data. </div><div class="ttdef"><b>Definition:</b> erpc_codec.h:82</div></div>
<div class="ttc" id="erpc__message__buffer_8h_html"><div class="ttname"><a href="erpc__message__buffer_8h.html">erpc_message_buffer.h</a></div></div>
<div class="ttc" id="classerpc_1_1_codec_factory_html_a06079d9d28d159258521fa6373417d55"><div class="ttname"><a href="classerpc_1_1_codec_factory.html#a06079d9d28d159258521fa6373417d55">erpc::CodecFactory::CodecFactory</a></div><div class="ttdeci">CodecFactory(void)</div><div class="ttdoc">Constructor. </div><div class="ttdef"><b>Definition:</b> erpc_codec.h:426</div></div>
<div class="ttc" id="classerpc_1_1_codec_html_a5ee5a1d8930812d4256201bde6390bf3"><div class="ttname"><a href="classerpc_1_1_codec.html#a5ee5a1d8930812d4256201bde6390bf3">erpc::Codec::reset</a></div><div class="ttdeci">virtual void reset(void)</div><div class="ttdoc">Reset the codec to initial state. </div><div class="ttdef"><b>Definition:</b> erpc_codec.h:90</div></div>
<div class="ttc" id="classerpc_1_1_codec_html_a39f0596a2957fb80bf3b5de6a4420f26"><div class="ttname"><a href="classerpc_1_1_codec.html#a39f0596a2957fb80bf3b5de6a4420f26">erpc::Codec::Codec</a></div><div class="ttdeci">Codec(void)</div><div class="ttdoc">Constructor. </div><div class="ttdef"><b>Definition:</b> erpc_codec.h:58</div></div>
<div class="ttc" id="classerpc_1_1_codec_html_a003c4d8420239b9a347b46554ebeb903"><div class="ttname"><a href="classerpc_1_1_codec.html#a003c4d8420239b9a347b46554ebeb903">erpc::Codec::m_buffer</a></div><div class="ttdeci">MessageBuffer m_buffer</div><div class="ttdef"><b>Definition:</b> erpc_codec.h:410</div></div>
</div><!-- fragment --></div><!-- contents -->
</div><!-- doc-content -->
<!-- HTML footer for doxygen 1.8.5-->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul class="foot">
    <li class="footer">Copyright 2016-2020 NXP Semiconductors. All rights reserved.
    </li>
  </ul>
</div>
</body>
</html>
